﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace QuanLyTiemNET_DEV_LINQ
{
    public partial class XtraFormBaoCaoDoanhThu : DevExpress.XtraEditors.XtraForm
    {
        public XtraFormBaoCaoDoanhThu()
        {
            InitializeComponent();
        }

        private void XtraFormBaoCaoDoanhThu_Load(object sender, EventArgs e)
        {
            XtraReportDoanhThuThang dt = new XtraReportDoanhThuThang();
            dt.paraThang.Value = DateTime.Now.Month;
            dt.paraNam.Value = DateTime.Now.Year;
            documentViewer1.PrintingSystem = dt.PrintingSystem;
            dt.CreateDocument();
        }
    }
}